package com.tengfei.blogsystem.service;

import com.tengfei.blogsystem.pojo.Category;
import com.tengfei.blogsystem.response.ResponseResult;

/**
 * @version v1.0
 * @author} feige
 * @date 2021-10-21-15:20
 * @description
 */
public interface ICategoryService {

    ResponseResult addCategory(Category category);

    ResponseResult getCategory(String categoryId);

    ResponseResult listCategory(int page, int size);

    ResponseResult updateCategory(String categoryId, Category category);

    ResponseResult deleteCategory(String categoryId);
}
